home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 6639 / 6639.xpi / chrome / easydragtogo.jar / content / easydragtogoConfig.xul < prev    next >
Extensible Markup Language  |  2008-05-08  |  8KB  |  187 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://easydragtogo/skin/easydragtogo.css" type="text/css"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://easydragtogo/locale/easydragtogoConfig.dtd">
  7.  
  8. <!--  Code from Drag De Go, modifided by Sunwan.  -->
  9.  
  10. <dialog id="easydragtogoConfig"
  11.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  12.     dlgbuttons="accept,cancel,extra1"
  13.     buttonlabelextra1="&dialogButton.rstDefault;"
  14.     onload="easyDragSettings.onLoad();"
  15.     ondialogaccept="return easyDragSettings.onAccept();"
  16.     ondialogextra1="easyDragSettings.rstDefault();"
  17.     title="&easydragtogo.config.title;">  
  18.  
  19.     <script type="application/x-javascript" src="chrome://easydragtogo/content/easydragtogoConfig.js"/>
  20.     <script type="application/x-javascript" src="chrome://easydragtogo/content/utils.js"/>
  21.  
  22.     <tabbox flex="1">
  23.       <tabs>
  24.         <tab label="&settings.text;"/>
  25.         <tab label="&settings.link;"/>
  26.         <tab label="&settings.img;"/>
  27.       </tabs>
  28.  
  29.       <tabpanels flex="1">
  30.         <tabpanel orient="vertical">
  31.           <groupbox>
  32.             <caption>
  33.               <label>&settings.text-gesture-label;</label>
  34.             </caption>
  35.             <label value="&settings.direction;"/>
  36.             <hbox class="easydragtogo-Direction" id="direction-text" _mId="text"/>
  37.             <separator class="groove"/>
  38.             <label value="&gesture.label;"/>
  39.             <grid>
  40.               <columns>
  41.                 <column flex="1"/>
  42.                 <column/>
  43.               </columns>
  44.               <rows>
  45.                 <row class="easydragtogo-Menu">
  46.                   <label value="&settings.text-direction-any;"/>
  47.                   <hbox class="gMenuList" id="text-edg-any" _Type="text" minwidth="&gesture.menu.width;"/>
  48.                 </row>
  49.                 <row class="easydragtogo-Menu">
  50.                   <label value="&settings.text-direction-up;"/>
  51.                   <hbox class="gMenuList" id="text-edg-up" _Type="text" minwidth="&gesture.menu.width;"/>
  52.                 </row>
  53.                 <row class="easydragtogo-Menu">
  54.                   <label value="&settings.text-direction-down;"/>
  55.                   <hbox class="gMenuList" id="text-edg-down" _Type="text" minwidth="&gesture.menu.width;"/>
  56.                 </row>
  57.                 <row class="easydragtogo-Menu">
  58.                   <label value="&settings.text-direction-right;"/>
  59.                   <hbox class="gMenuList" id="text-edg-right" _Type="text" minwidth="&gesture.menu.width;"/>
  60.                 </row>
  61.                 <row class="easydragtogo-Menu">
  62.                   <label value="&settings.text-direction-left;"/>
  63.                   <hbox class="gMenuList" id="text-edg-left" _Type="text" minwidth="&gesture.menu.width;"/>
  64.                 </row>
  65.               </rows>
  66.             </grid>
  67.           </groupbox>
  68.  
  69.           <groupbox id="textFromOuter">
  70.             <caption label="&textFromContentOuter.label;"/>
  71.               <row class="easydragtogo-Menu">
  72.                 <space flex="1"/>
  73.                 <hbox class="gMenuList" id="textFromContentOuter" _Type="text" minwidth="&gesture.menu.width;"/>
  74.               </row>
  75.           </groupbox>
  76.         </tabpanel>
  77.  
  78.         <tabpanel orient="vertical">
  79.           <groupbox>
  80.             <caption>
  81.               <label>&settings.link-gesture-label;</label>
  82.             </caption>
  83.             <label value="&settings.direction;"/>
  84.             <hbox class="easydragtogo-Direction" id="direction-link" _mId="link"/>
  85.             <separator class="groove"/>
  86.             <label value="&gesture.label;"/>
  87.             <grid>
  88.               <columns>
  89.                 <column flex="1"/>
  90.                 <column/>
  91.               </columns>
  92.               <rows>
  93.                 <row class="easydragtogo-Menu">
  94.                   <label value="&settings.text-direction-any;"/>
  95.                   <hbox class="gMenuList" id="link-edg-any" _Type="link" minwidth="&gesture.menu.width;"/>
  96.                 </row>
  97.                 <row class="easydragtogo-Menu">
  98.                   <label value="&settings.text-direction-up;"/>
  99.                   <hbox class="gMenuList" id="link-edg-up" _Type="link" minwidth="&gesture.menu.width;"/>
  100.                 </row>
  101.                 <row class="easydragtogo-Menu">
  102.                   <label value="&settings.text-direction-down;"/>
  103.                   <hbox class="gMenuList" id="link-edg-down" _Type="link" minwidth="&gesture.menu.width;"/>
  104.                 </row>
  105.                 <row class="easydragtogo-Menu">
  106.                   <label value="&settings.text-direction-right;"/>
  107.                   <hbox class="gMenuList" id="link-edg-right" _Type="link" minwidth="&gesture.menu.width;"/>
  108.                 </row>
  109.                 <row class="easydragtogo-Menu">
  110.                   <label value="&settings.text-direction-left;"/>
  111.                   <hbox class="gMenuList" id="link-edg-left" _Type="link" minwidth="&gesture.menu.width;"/>
  112.                 </row>
  113.               </rows>
  114.             </grid>
  115.           </groupbox>
  116.  
  117.           <groupbox id="linkFromOuter">
  118.             <caption label="&linkFromContentOuter.label;"/>
  119.               <row class="easydragtogo-Menu">
  120.                 <space flex="1"/>
  121.                 <hbox class="gMenuList" id="linkFromContentOuter" _Type="link" minwidth="&gesture.menu.width;"/>
  122.               </row>
  123.           </groupbox>
  124.         </tabpanel>
  125.  
  126.         <tabpanel orient="vertical">
  127.           <groupbox>
  128.             <caption>
  129.               <label>&settings.img-gesture-label;</label>
  130.             </caption>
  131.             <label value="&settings.direction;"/>
  132.             <hbox class="easydragtogo-Direction" id="direction-img" _mId="img"/>
  133.             <separator class="groove"/>
  134.             <label value="&gesture.label;"/>
  135.             <grid>
  136.               <columns>
  137.                 <column flex="1"/>
  138.                 <column/>
  139.               </columns>
  140.               <rows>
  141.                 <row class="easydragtogo-Menu">
  142.                   <label value="&settings.text-direction-any;"/>
  143.                   <hbox class="gMenuList" id="img-edg-any" _Type="image" minwidth="&gesture.menu.width;"/>
  144.                 </row>
  145.                 <row class="easydragtogo-Menu">
  146.                   <label value="&settings.text-direction-up;"/>
  147.                   <hbox class="gMenuList" id="img-edg-up" _Type="image" minwidth="&gesture.menu.width;"/>
  148.                 </row>
  149.                 <row class="easydragtogo-Menu">
  150.                   <label value="&settings.text-direction-down;"/>
  151.                   <hbox class="gMenuList" id="img-edg-down" _Type="image" minwidth="&gesture.menu.width;"/>
  152.                 </row>
  153.                 <row class="easydragtogo-Menu">
  154.                   <label value="&settings.text-direction-right;"/>
  155.                   <hbox class="gMenuList" id="img-edg-right" _Type="image" minwidth="&gesture.menu.width;"/>
  156.                 </row>
  157.                 <row class="easydragtogo-Menu">
  158.                   <label value="&settings.text-direction-left;"/>
  159.                   <hbox class="gMenuList" id="img-edg-left" _Type="image" minwidth="&gesture.menu.width;"/>
  160.                 </row>
  161.               </rows>
  162.             </grid>
  163.           </groupbox>
  164.  
  165.           <groupbox id="imgfloder">
  166.             <caption label="&imgSaveFloder.label;"/>
  167.             <hbox align="center">
  168.               <textbox id="imgSaveFloder-text" readonly="true" flex="1"/>
  169.               <button id="imgSaveFloder-browserButton" label="&floderBrowse;"
  170.                     oncommand="easyDragSettings.browseDir()" />
  171.             </hbox>
  172.             <hbox align="center">
  173.               <checkbox id="saveDomainName" label="&saveDomainName.label;"/>
  174.             </hbox>
  175.           </groupbox>
  176.         </tabpanel>
  177.       </tabpanels>
  178.     </tabbox>
  179.  
  180.     <hbox id="dialogButtons">
  181.       <button dlgtype="extra1" id="myDefault"/>
  182.       <spacer flex="1" />
  183.       <button dlgtype="accept" id="myAccept" />
  184.       <button dlgtype="cancel" id="myCancel" />
  185.     </hbox>
  186. </dialog>
  187.